package cn.yunhe.entity;

import java.util.HashSet;
import java.util.Set;

public class Type {
	private int typeid;
	private String typename;
	private Set<Essay> essays=new HashSet<Essay>();
	public int getTypeid() {
		return typeid;
	}
	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}
	public String getTypename() {
		return typename;
	}
	public void setTypename(String typename) {
		this.typename = typename;
	}
	public Set<Essay> getEssays() {
		return essays;
	}
	public void setEssays(Set<Essay> essays) {
		this.essays = essays;
	}
	public Type(String typename, Set<Essay> essays) {
		super();
		this.typename = typename;
		this.essays = essays;
	}
	public Type() {
		super();
		// TODO Auto-generated constructor stub
	}
}
